package com.linghang.association.config;
import com.linghang.association.interceptor.JwtInterceptor;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
/**
 * @author LinyaT052
 * @date 2022年07月18日 10:49
 * JWT验证拦截器配置类
 */
@Configuration
public class InterceptorConfig implements  WebMvcConfigurer{
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(new JwtInterceptor())
//                .addPathPatterns("/**")
//                .excludePathPatterns("/login","/error","/ws/**","/message/**");
//    }
}
